/**
 * 
 */
package org.william.mobile_boot.rest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;


/** 
 * Description: 页面 控制 器
 * @author xuhongwei
 * @version 1.0
 * <pre>
 * Modification History: 
 * Date         Author      Version     Description 
------------------------------------------------------------------
 * 2018年4月17日    xuhongwei     1.0        1.0 Version 
 * </pre>
 */

@Controller
@RequestMapping("/index")
public class IndexRest {
		
	/**
	 *  index 
	 * Description: 
	 * @param
	 * @return Object
	 * @throws
	 * @Author xuhongwei
	 * Create Date: 2018年4月17日
	 */
	@RequestMapping(value="/showIndex",method={RequestMethod.GET,RequestMethod.POST})
	public ModelAndView showIndex(){
		ModelAndView mav=new ModelAndView();
		mav.setViewName("index");
		return mav;
	}
	
	@RequestMapping(value = "/webApi/findAllCity", method ={ RequestMethod.GET, RequestMethod.POST})
	public String findAllCity() {
	    return "cityList";
 	}
 	
 	
}
